Using distinct in SQL

join shbcf.ru